/**
 * 
 */
package cw.serviceImp;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cw.entity.Book;
import cw.mapper.BookMapper;
import cw.service.BookService;

/**
 * @author Administrator
 *
 */
@Service("bookService")
public class BookServiceImpl implements BookService {

	@Resource
	private BookMapper bookMapper;
	
	/* (non-Javadoc)
	 * @see cw.service.BookService#selectByPrimaryKey(java.lang.String)
	 */
	@Override
	public Book selectByPrimaryKey(String id) {
		// TODO Auto-generated method stub
		return bookMapper.selectByPrimaryKey(id);
	}

}
